package 设计模式.责任链模式;

public class Client {
    public static void main(String[] args) {
        XingTian xingTian = new XingTian();

        Ah ah = new Ah();
        ah.setNextHandle(xingTian);

        Company company = new Company();
        company.setNextHandle(ah);

        LeaveRequest leaveRequest = new LeaveRequest("183...","TO_AH");

        company.submit(leaveRequest);
    }
}
